<?php

namespace Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Reward
 *
 * @ORM\Table(name="reward")
 * @ORM\Entity
 */
class Reward
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    protected $id;

    /**
     * @var float
     *
     * @ORM\Column(name="game_points", type="decimal", nullable=false)
     */
    protected $gamePoints;

    /**
     * @var float
     *
     * @ORM\Column(name="honor_points", type="decimal", nullable=false)
     */
    protected $honorPoints;

    /**
     * @var float
     *
     * @ORM\Column(name="cash_from", type="decimal", nullable=false)
     */
    protected $cashFrom;

    /**
     * @var float
     *
     * @ORM\Column(name="cash_to", type="decimal", nullable=false)
     */
    protected $cashTo;

    /**
     * @var float
     *
     * @ORM\Column(name="bullets", type="decimal", nullable=false)
     */
    protected $bullets;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="last_modified", type="datetime", nullable=false)
     */
    protected $lastModified;

    /**
     * @var \Entity\InventoryItem
     *
     * @ORM\ManyToOne(targetEntity="Entity\InventoryItem")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="inventory_item_id", referencedColumnName="id")
     * })
     */
    protected $inventoryItem;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set gamePoints
     *
     * @param float $gamePoints
     * @return Reward
     */
    public function setGamePoints($gamePoints)
    {
        $this->gamePoints = $gamePoints;
    
        return $this;
    }

    /**
     * Get gamePoints
     *
     * @return float 
     */
    public function getGamePoints()
    {
        return $this->gamePoints;
    }

    /**
     * Set honorPoints
     *
     * @param float $honorPoints
     * @return Reward
     */
    public function setHonorPoints($honorPoints)
    {
        $this->honorPoints = $honorPoints;
    
        return $this;
    }

    /**
     * Get honorPoints
     *
     * @return float 
     */
    public function getHonorPoints()
    {
        return $this->honorPoints;
    }

    /**
     * Set cashFrom
     *
     * @param float $cashFrom
     * @return Reward
     */
    public function setCashFrom($cashFrom)
    {
        $this->cashFrom = $cashFrom;
    
        return $this;
    }

    /**
     * Get cashFrom
     *
     * @return float 
     */
    public function getCashFrom()
    {
        return $this->cashFrom;
    }

    /**
     * Set cashTo
     *
     * @param float $cashTo
     * @return Reward
     */
    public function setCashTo($cashTo)
    {
        $this->cashTo = $cashTo;
    
        return $this;
    }

    /**
     * Get cashTo
     *
     * @return float 
     */
    public function getCashTo()
    {
        return $this->cashTo;
    }

    /**
     * Set bullets
     *
     * @param float $bullets
     * @return Reward
     */
    public function setBullets($bullets)
    {
        $this->bullets = $bullets;
    
        return $this;
    }

    /**
     * Get bullets
     *
     * @return float 
     */
    public function getBullets()
    {
        return $this->bullets;
    }

    /**
     * Set lastModified
     *
     * @param \DateTime $lastModified
     * @return Reward
     */
    public function setLastModified($lastModified)
    {
        $this->lastModified = $lastModified;
    
        return $this;
    }

    /**
     * Get lastModified
     *
     * @return \DateTime 
     */
    public function getLastModified()
    {
        return $this->lastModified;
    }

    /**
     * Set inventoryItem
     *
     * @param \Entity\InventoryItem $inventoryItem
     * @return Reward
     */
    public function setInventoryItem(\Entity\InventoryItem $inventoryItem = null)
    {
        $this->inventoryItem = $inventoryItem;
    
        return $this;
    }

    /**
     * Get inventoryItem
     *
     * @return \Entity\InventoryItem 
     */
    public function getInventoryItem()
    {
        return $this->inventoryItem;
    }
}
